Update Stock Sold
Question
You can find this question from this link 👉Update Stock Sold
Answer
You can find the solution to the question from the video below
The Parameters for the Workflow are given below

The Code Snippet is as follows
for each item in input.Order_Items
{
product_id = Products[ID == item.Products];
product_id.Sold_Stock=product_id.Sold_Stock + item.Quantity;
}




